set the locH of sprite 13 to the locH of sprite 13 - 2000
set the locH of sprite 14 to the locH of sprite 14 - 2000
set the locH of sprite 15 to the locH of sprite 15 - 2000
end if
end
on doChoosePersonMouseUp
set the mouseUpScript to EMPTY
dontPassEvent()
set clickOnName to (gMouseDownSpriteNum >= 20) and (gMouseDownSpriteNum <= 24)
set clickOnPhoto to (gMouseDownSpriteNum >= 26) and (gMouseDownSpriteNum <= 30)
if clickOnName then
set person to gMouseDownSpriteNum - 20 + 1
else
set person to gMouseDownSpriteNum - 26 + 1
end if
if clickOnPhoto then
set the castNum of sprite 1 to 14 + (person - 1)
updateStage()
set the visible of sprite 25 to 0
end if
set nameSprite to 20 + (person - 1)
set loc to point(the locH of sprite nameSprite + (the width of sprite nameSprite / 2), the locV of sprite nameSprite + the height of sprite nameSprite)